// 自适应样式

//顶部header
//   @media (min-width: 1200px) and (max-width: 1650px) {

//   }
/* 适用于平板的样式1200-1650 */
@media (min-width: 1200px) and (max-width: 1650px) {
  .headNav ul li {
    color: #333;
    font-size: 15px;
    display: inline-block;
    vertical-align: middle;
    padding: 10px 12px !important;
    box-sizing: border-box;
  }
}

/* 适用于平板的样式768-1200 */
@media (min-width: 768px) and (max-width: 1200px) {
  .headerWrapper {
    height: auto;
  }

  .indexOption {
    position: static;
  }

  .headLeft {
    padding: 12px 5px;
  }

  .headLeft .headTitle h4 {
    font-size: 8px;
  }

  .phoneContainer {
    padding: 12px 15px 12px;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    position: relative;
  }

  .phoneContainer .loginTo {
    padding: 5px 20px;
    background-color: #2468f2;
    color: #fff;
    border-radius: 4px;
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
  }

  .phoneContainer .registerTo {
    padding: 5px 20px;
    background-color: #2468f2;
    color: #fff;
    border-radius: 4px;
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
  }

  .mNavBtn {
    display: block;
    width: 24px;
    height: 16px;
    right: 15px;
    top: 15px;
    position: absolute;
    cursor: pointer;
    z-index: 4;
    color: #333;
  }

  .mNavBtn span {
    position: absolute;
    // left: 0;
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin-top: 5px;
  }

  .mNavBtn.phoneActive .line1 {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 10px;
  }

  .mNavBtn.phoneActive .line2 {
    display: none;
  }

  .mNavBtn.phoneActive .line3 {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 10px;
  }

  .mNavBtn span.line1 {
    top: 0;
  }

  .mNavBtn span.line2 {
    top: 7px;
  }

  .mNavBtn span.line3 {
    top: 14px;
  }

  .m-navbox {
    display: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 124px;
    left: 0;
    background-color: #fff;
    padding: 0 20px;
    z-index: 7;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
  }

  .m-navbox.boxActive {
    opacity: 1;
    display: block;
    visibility: visible;
  }
  .m-navbox ul li a{
    display: block;
    line-height: 46px;
    text-align: center;
    color:#333;
  }
  .m-navbox ul li{
    border-bottom:1px solid #ececec;
  }
  .m-navbox ul li:last-child{
    border-bottom:0;
  }
}

/* 适用于手机的样式 */
@media (max-width: 767px) {
  .headerWrapper {
    height: auto;
  }

  .indexOption {
    position: static;
  }

  .headLeft {
    padding: 12px 5px;
  }

  .headLeft .headTitle h4 {
    font-size: 8px;
  }

  .phoneContainer {
    padding: 12px 15px 12px;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    position: relative;
	display: block !important;
  }

  .phoneContainer .loginTo {
    padding: 5px 20px;
    background-color: #2468f2;
    color: #fff;
    border-radius: 4px;
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
  }

  .phoneContainer .registerTo {
    padding: 5px 20px;
    background-color: #2468f2;
    color: #fff;
    border-radius: 4px;
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
  }

  .mNavBtn {
    display: block;
    width: 24px;
    height: 16px;
    right: 15px;
    top: 15px;
    position: absolute;
    cursor: pointer;
    z-index: 4;
    color: #333;
  }

  .mNavBtn span {
    position: absolute;
    // left: 0;
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin-top: 5px;
  }

  .mNavBtn.phoneActive .line1 {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 10px;
  }

  .mNavBtn.phoneActive .line2 {
    display: none;
  }

  .mNavBtn.phoneActive .line3 {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 10px;
  }

  .mNavBtn span.line1 {
    top: 0;
  }

  .mNavBtn span.line2 {
    top: 7px;
  }

  .mNavBtn span.line3 {
    top: 14px;
  }

  .m-navbox {
    display: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 124px;
    left: 0;
    background-color: #fff;
    padding: 0 20px;
    z-index: 7;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
  }

  .m-navbox.boxActive {
    opacity: 1;
    display: block;
    visibility: visible;
  }
  .m-navbox ul li a{
    display: block;
    line-height: 46px;
    text-align: center;
    color:#333;
  }
  .m-navbox ul li{
    border-bottom:1px solid #ececec;
  }
  .m-navbox ul li:last-child{
    border-bottom:0;
  }
}